﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using log4net.Config;
using log4net;
using System.Reflection;
using DrugStore.Objects;


namespace DrugStore.FormCollect
{
    public partial class DanhMucNhaSanXuat : Form
    {
        private static log4net.ILog log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
        public DanhMucNhaSanXuat()
        {
            InitializeComponent();
            log.Info("danh mục nhà sản xuẩ");
        }

        private void label1_Click(object sender, EventArgs e)
        {

        }

        private void DanhMucNhaSanXuat_FormClosed(object sender, FormClosedEventArgs e)
        {
            //DanhMucNhaSanXuat
            MainFormAdmin main = new MainFormAdmin();
            main.DestroyChild(this.Name);
        }

        private void bt_AdNew_Click(object sender, EventArgs e)
        {
            tb_Dic_NhaSanXuat manuf = new tb_Dic_NhaSanXuat();

            manuf.DiaChi = tb_DiaChi.Text;
            manuf.DienThoai = tb_phone_1.Text;
            manuf.DienThoai_1 = tb_phone_2.Text;
            manuf.Email = tb_email_1.Text;
            manuf.NguoiLienHe = "";
            manuf.NguoiLienHe_DienThoai = "";
            manuf.NguoiLienHe_DienThoai_1 = "";
            manuf.NguoiLienHe_DienThoai_2 = "";
            manuf.NguoiLienHe_Email = "";
            manuf.NhaSanXuat = "";
            manuf.QuocGia = "";
        }
    }
}
